//
//  lookingForSubsidiesViewController.m
//  GLGW_Shoping
//
//  Created by whx on 2018/12/7.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "lookingForSubsidiesViewController.h"
#import "lookingForSubsidiesViewModel.h"

@interface lookingForSubsidiesViewController ()
@property (nonatomic, strong)lookingForSubsidiesViewModel *viewModel;
@end

@implementation lookingForSubsidiesViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.viewModel = [[lookingForSubsidiesViewModel alloc] initWithViewToViewModel:self.groupedTableView theSuperView:self.view];
    self.viewModel.type = SubsidiesType_Order;
    kWeakSelf(self);
    self.viewModel.BlockSelet = ^(NSIndexPath *selet) {
        [weakself seletIndex:selet];
    };
    self.viewModel.BlockTitle = ^(NSString *titleStr) {
        weakself.title = titleStr;
    };
}

- (void)seletIndex:(NSIndexPath *)idnex
{
    
}

@end
